package sprinklerbee.utils;

import java.util.List;

import javax.swing.JComboBox;

public class JComboBoxUtils {

	public static JComboBox fillComboBox(JComboBox box,String title,List<String> items){
		box.addItem(title);
		for (int i = 0; i < items.size(); i++) {
			box.addItem(items.get(i));
		}
		return box;
	}
}
